package io.bluerain.adbdlistenerauto.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import io.bluerain.adbdlistenerauto.CoreService;

/**
 * Created by foredawn on 15-9-16.
 * 接收系统启动事件，启动CoreService
 */
public class BootReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        intent = new Intent(context, CoreService.class);
        context.startService(intent);
    }
}
